package com.jian.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jian.project.model.dto.tbuserinterface.TbUserInterfaceInvokeRequest;
import com.jian.project.model.entity.TbUserInterface;
import com.jian.project.model.vo.InterfaceLeftNumberVo;
import com.jian.project.model.vo.UserInterfaceVO;

import java.util.List;

/**
* @author 18214
* @description 针对表【tb_user_interface(用户接口调用关系)】的数据库操作Service
* @createDate 2023-02-22 09:23:12
*/
public interface TbUserInterfaceService extends IService<TbUserInterface> {
    void validTbUserInterface(TbUserInterface dbInterface, boolean add);

    Boolean invokeApi(TbUserInterfaceInvokeRequest request);

    List<UserInterfaceVO> invokeTotal(Integer top);
    List<UserInterfaceVO> invokeTotal();

    InterfaceLeftNumberVo getLeftNumber(TbUserInterfaceInvokeRequest tbUserInterfaceQueryRequest);
}
